package com.huawei.codecheck.uccp.plugin.utils;

import java.util.Map;

public class BinaryTypeSuffixMap {


    public static Map<String, String> BinaryTypeSuffixMap;

    public static Map<String, String> initMap() {
        BinaryTypeSuffixMap.clear();
        BinaryTypeSuffixMap.put("binary_data_file",
                "xlsx,xls,xlsm,xslt,csv,db,sql,mysql,data,sqlite,xlsb,pos,dat,db3,dng,sp,spv,bag,pickle,profdata,sldd,npy");
        BinaryTypeSuffixMap.put("binary_multimedia_file",
                "png,jpg,jpeg,bmp,gif,ttf,ico,eot,woff,rmvb,woff2,otf,webp,mp4,svg,pcm,irf,psd,opus,cur,wav,ogg,yuv,ttc,mp3" +
                        ",tsx,rpk,tkm,astc,aif,aiff,aifc,au,hcom,pgm,ras,rc,sgi," +
                        "tiff,voc,xmind,aac,ac3,adts,amr,asf,avi,avif,bcmap," +
                        "cdr,cgi,dds,dfont,eac3,eddx,emf,flac,flv,fnt,fon,frag," +
                        "ftrl,glb,h264,h265,h261,h263,hdr,hevc,icc,icns,ivf,jas," +
                        "jfif,jp2,jxl,jxr,ktx,lrc,m4a,m2ts,material,m4s,mesh,metallib," +
                        "mht,mkv,mov,mp2,mpeg,nef,nib,ogv,oga,odt,orf,p7s,pbm" +
                        ",pcf,pfb,pgm,pkm,pnm,ppm,raw,res,rom,scn,skin,skp,stex,swf,DS Store,vsd,qm,acc,wma,pcm,exr,tga,astc,ogg");
        BinaryTypeSuffixMap.put("binary_help_file", "md,docx,doc,ppt,pptx,pdf,chm,emmx,docs,hdx,hwics");
        BinaryTypeSuffixMap.put("binary_certificate_file",
                "crt,pem,p12,jks,bks,lic,p7b,key,keystore,cer,der,keytab,crl,pfx,der,gpg,keychain,pk8,pks,pvk,sec,se");
        BinaryTypeSuffixMap.put("binary_internationalization_and_localization_file", "pot,mo");
        BinaryTypeSuffixMap.put("binary_configuration_file",
                "gitignore,gitkeep,yaml,yml,properties,strings,plist,ini,xml,cfg,ko,bpmn2");
        BinaryTypeSuffixMap.put("binary_framework_file", "hwt");
        BinaryTypeSuffixMap.put("binary_front_end_file", "html,js,css,less");
        BinaryTypeSuffixMap.put("binary_model_file",
                "ms,fst,slx,pb,pdm,pt,model,index,om,pdmodel,pkl,pt,pth,onnx,cml,net,omc,ispnn");
        BinaryTypeSuffixMap.put("binary_algorithm_file", "crc");
        BinaryTypeSuffixMap.put("binary_installation_package_file", "apk,whl,apk,deb,crx,exe");
        BinaryTypeSuffixMap.put("binary_os_image_file", "iso,dmg");
        BinaryTypeSuffixMap.put("binary_dependent_library_file", "dll,so,lib,a,bfd,dylib,o,obj,rlib,bin");
        BinaryTypeSuffixMap.put("binary_patch_binary_file", "diff");
        BinaryTypeSuffixMap.put("binary_artifact_package_file",
                "jar,war,zip,gz,rar,tar,aar,tz,7z,hap,arj,bz2,cab,dex,deflate,egg,lha,lrz,lz,lzma,lzo,npz,pak,pkpass,rpm");
        BinaryTypeSuffixMap.put("binary_compiled_binary_file", "pyc,class,wasm");
        return BinaryTypeSuffixMap;
    }



}
